package light.head.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * 招聘信息表
 */
@Entity
@Table
public class Recruitment implements Serializable {
	
	
	private static final long serialVersionUID = -8342628080423094778L;
	
	
	private Integer code;
	private String adress;						// 公司地址
	private Integer phone;						// 公司电话
	private String post;						// 招聘职位
	private String description;					// 职位描述
	private Integer number;						// 人数
	private String degree;						// 学历要求
	private Integer wage;						// 工资
	private String welfare;						// 福利
	private Integer oc;							// 招聘机构
	private String name;						//公司名称
	private Byte sex;							//性别
	private Integer age;						//年龄
	private Date start;							//招聘开始时间
	private Date end;							//招聘结束时间
	private String website;						//公司网址

	
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column
	public Integer getCode() {
		return code;
	}
	@Column(length = 200)
	public String getAdress() {
		return adress;
	}
	@Column
	public Integer getPhone() {
		return phone;
	}
	@Column(length = 20)
	public String getPost() {
		return post;
	}
	@Column(length = 8)
	public Integer getNumber() {
		return number;
	}
	@Column(length = 500)
	public String getDescription() {
		return description;
	}
	@Column(length = 50)
	public String getDegree() {
		return degree;
	}
	@Column(length = 10)
	public Integer getWage() {
		return wage;
	}
	@Column(length = 500)
	public String getWelfare() {
		return welfare;
	}
	@Column
	public Integer getOc() {
		return oc;
	}
	@Column
	public String getName() {
		return name;
	}
	@Column
	public Byte getSex() {
		return sex;
	}
	@Column
	public Integer getAge() {
		return age;
	}
	@Column
	public Date getStart() {
		return start;
	}
	@Column
	public Date getEnd() {
		return end;
	}
	@Column
	public String getWebsite() {
		return website;
	}
	
	
	
	
	
	
	
	
	
	
	public void setName(String name) {
		this.name = name;
	}
	public void setSex(Byte sex) {
		this.sex = sex;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public void setStart(Date start) {
		this.start = start;
	}
	public void setEnd(Date end) {
		this.end = end;
	}
	public void setWebsite(String website) {
		this.website = website;
	}
	public void setCode(Integer code) {
		this.code = code;
	}
	public void setAdress(String adress) {
		this.adress = adress;
	}
	public void setPhone(Integer phone) {
		this.phone = phone;
	}
	public void setPost(String post) {
		this.post = post;
	}
	public void setNumber(Integer number) {
		this.number = number;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public void setDegree(String degree) {
		this.degree = degree;
	}
	public void setWage(Integer wage) {
		this.wage = wage;
	}
	public void setWelfare(String welfare) {
		this.welfare = welfare;
	}
	public void setOc(Integer oc) {
		this.oc = oc;
	}
	
	

}
